package com.xuxiangyang.competitionsystem.entities;

import java.util.Arrays;
import java.util.List;

public class Group extends Registration{
    private String groupId;
    private String groupName;
    private String compId;
    private String[] userIds;
//    参赛人员
    private List<Registration> registrations;

    private String teacherId;
    private String teacherName;
//    商业计划书和参赛进度
    private Integer state;
    private String src;

    public String getGroupId() {
        return groupId;
    }

    public void setGroupId(String groupId) {
        this.groupId = groupId;
    }

    public String getGroupName() {
        return groupName;
    }

    public void setGroupName(String groupName) {
        this.groupName = groupName;
    }

    @Override
    public String getCompId() {
        return compId;
    }

    @Override
    public void setCompId(String compId) {
        this.compId = compId;
    }

    public String[] getUserIds() {
        return userIds;
    }

    public List<Registration> getRegistrations() {
        return registrations;
    }

    public void setRegistrations(List<Registration> registrations) {
        this.registrations = registrations;
    }

    public void setUserIds(String[] userIds) {
        this.userIds = userIds;
    }

    public String getTeacherId() {
        return teacherId;
    }

    public void setTeacherId(String teacherId) {
        this.teacherId = teacherId;
    }

    public String getTeacherName() {
        return teacherName;
    }

    public void setTeacherName(String teacherName) {
        this.teacherName = teacherName;
    }

    public String getSrc() {
        return src;
    }

    public void setSrc(String src) {
        this.src = src;
    }

    public Integer getState() {
        return state;
    }

    public void setState(Integer state) {
        this.state = state;
    }

    @Override
    public String toString() {
        return "Group{" +
                "groupId='" + groupId + '\'' +
                ", groupName='" + groupName + '\'' +
                ", compId='" + compId + '\'' +
                ", userIds=" + Arrays.toString(userIds) +
                ", teacherId='" + teacherId + '\'' +
                ", teacherName='" + teacherName + '\'' +
                '}';
    }
}
